package com.specialized.coupon.domain;

import cn.hutool.core.date.DateTime;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.specialized.common.core.annotation.Excel;
import com.specialized.common.core.web.domain.BaseEntity;

/**
 * 抢券场次对象 session
 *
 * @author djh
 * @date 2024-07-30
 */
public class Session extends BaseEntity {
private static final long serialVersionUID=1L;

    /** 场次id */
    private Long sessionId;

    /** 场次名称 */
            @Excel(name = "场次名称")
    private String sessionName;

    /** 开始时间 */
            @JsonFormat(pattern = "yyyy-MM-dd")
            @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 结束时间 */
            @JsonFormat(pattern = "yyyy-MM-dd")
            @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 场次描述 */
            @Excel(name = "场次描述")
    private String sessionDescription;

    /** 场次状态0:未开启1：已开启 */
            @Excel(name = "场次状态0:未开启1：已开启")
    private Long sessionStatus;

    /** 是否删除 */
            @Excel(name = "是否删除")
    private Long isDelete;

    public void setSessionId(Long sessionId)
            {
            this.sessionId = sessionId;
            }

    public Long getSessionId()
            {
            return sessionId;
            }
    public void setSessionName(String sessionName)
            {
            this.sessionName = sessionName;
            }

    public String getSessionName()
            {
            return sessionName;
            }
    public void setStartTime(Date startTime)
            {
            this.startTime = startTime;
            }

    public Date getStartTime()
            {
            return startTime;
            }
    public void setEndTime(Date endTime)
            {
            this.endTime = endTime;
            }

    public Date getEndTime()
            {
            return endTime;
            }
    public void setSessionDescription(String sessionDescription)
            {
            this.sessionDescription = sessionDescription;
            }

    public String getSessionDescription()
            {
            return sessionDescription;
            }
    public void setSessionStatus(Long sessionStatus)
            {
            this.sessionStatus = sessionStatus;
            }

    public Long getSessionStatus()
            {
            return sessionStatus;
            }
    public void setIsDelete(Long isDelete)
            {
            this.isDelete = isDelete;
            }

    public Long getIsDelete()
            {
            return isDelete;
            }

@Override
public String toString(){
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("sessionId",getSessionId())
            .append("sessionName",getSessionName())
            .append("startTime",getStartTime())
            .append("endTime",getEndTime())
            .append("sessionDescription",getSessionDescription())
            .append("sessionStatus",getSessionStatus())
            .append("isDelete",getIsDelete())
            .append("createTime",getCreateTime())
            .append("updateTime",getUpdateTime())
        .toString();
        }


}
